<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>La clinique</title>
<?php include('include/include_link.php');?>
<!--302-->
<link rel="stylesheet" type="text/css" href="engine1/style.css" />
<link rel="stylesheet" type="text/css" href="css/style303.css" />
<script type="text/javascript" src="engine1/jquery.js"></script>
<!--303-->
<script type="type/javasript">
    function valid(){
        alert('valide');
    }
$(document).ready(function(){
    $('#btn_modif_donneConnexion').on('click',function(){
        alert('ok');
    });
   
   
/*end*/   
});
</script>
</head>

<body class="ficheclinique laclinique">
<?php include('include/variable_session.php');?>     
<?php 
 foreach ($result as $key => $list) {
     $nom = $list['NOM_CLI'];
     $addr_cli = $list['ADDR_CLI'];
     $id_cli = $list['ID_CLI'];
     $id_pays = $list['ID_PAYS'];
     $id_ville = $list['ID_VILLE'];
     $surface = $list['SURFACE'];
     $id_compte = $list['ID_COMPTE_CLI'];
     $prothese = $list['PROTHESE'];
     $fauteuil = $list['FAUTEIL'];
     $scanner = $list['SCANNER'];
     $partner = $list['PARTNER'];
     $surface = $list['SURFACE'];
     $lien_retour = $list['LIENRETOUR'];
     $site_web = $list['SITEWEB'];
     

 }
 $pays_cli = $this->mod_clinic->getPaysClinic($id_pays);
 $ville_cli = $this->mod_clinic->getVilleClinic($id_ville);
 $email = $this->mod_clinic->getEmailClinic($id_compte);
 $mdp = $this->mod_clinic->getMdpClinic($id_compte);

?>

<div class="main_container">
	<div id="wraper">
        	<?php include('include/header.php');?>           
                <div class="page sizing">          	
                <div class="titre">
                    <h1 class=" pull-left"><?php echo $nom;?>
                    <?php if($partner==1) echo"<a class='' href='fiche-clinique.html' title='partenaire'> <img src='".base_url()."images/photo/partenaire.png' title='partenaire' alt='walkdentalcare' /></a>"; ?>
                    </h1>                   
                    <div class="clear"></div>
                </div>
                <div class="navbar">
                    <ul>
                        <li class="active"><a href="<?php echo base_url().$lg;?>/espace-clinique/la-clinique" title="La clinique">La clinique</a></li>
                        <li><a href="<?php echo base_url().$lg;?>/espace-clinique/notre-equipe" title="acceuil">Notre équipe</a></li>
                        <li><a href="index.html" title="acceuil">Nos tarifs</a></li>
                        <li><a href="<?php echo base_url().$lg;?>/espace-clinique/commentaires" title="acceuil">Commentaires</a></li>
                        <li><a href="index.html" title="acceuil">Contacter la clinique</a></li>
                    </ul>
                </div>
                <div class="sizing mod_inscription_clinique pull-left coordonnees">
                        <h2><span class="title-insript-clinique">Mes données de connexion</span></h2>
                        <ul>
                            <li><p>Addresse email :</p><span id='email'><?php echo $email;?></span></li>
                            <li><p>Mot de passe :</p><span id='pass'><?php echo $mdp;?></span></li>
                        </ul> 
                        <input type="button" id="btn_modif_donneConnexion" onclick="valid();"value="MODIFIER" />
                </div>
               <div class="sizing mod_inscription_clinique pull-left coordonnees">
                   <h2><span class="title-insript-clinique">Localit&eacute;</span></h2>
                        <ul>
                            <li><p>Pays :</p><span><?php echo $pays_cli;?></span></li>
                            <li><p>Ville :</p><span><?php echo $ville_cli;?></span></li>
                            <li><p>Adresse :</p><span><?php echo $addr_cli;?></span></li>
                            <li><p>Code Postal :</p><span>post code</span></li>
                            <li><p>Map :</p><span>map</span></li>                        
                        </ul>            
                </div>
                <div class="sizing mod_inscription_clinique pull-left coordonnees">
                    <h2><span class="title-insript-clinique">La clinique</span></h2>
                        <ul>
                            <li><p>Nom de la clinique :</p><span><?php echo $nom;?></span></li>
                            <li><p>Surface</p><span><?php echo $surface;?> m²</span></li>
                            <li><p>Scanner dentaire:</p><span <?php if($scanner==1){echo "class='checkok'";} else {echo "class='checkno'";}?>></span></li>
                            <li><p>Laboratoire de prothèse dentaire :</p><span <?php if($prothese==1){echo "class='checkok'";} else {echo "class='checkno'";}?>></span></li>
                        </ul>            
                </div> 
                <div class="sizing mod_inscription_clinique pull-left coordonnees">
                <h2><span class="title-insript-clinique">Site web</span></h2>
                        <ul>
                            <li><p>Site web :</p><span><?php echo $site_web;?></span></li>
                            <li><p>Lien retour :</p><span><?php echo $lien_retour;?></span></li>
                        </ul>            
                </div>
                <div class="clear"></div>
            </div>
    </div>
    <?php include('include/footer.php');?>
    </div>   
    <script type="text/javascript" src="engine1/wowslider.js"></script>
    <script type="text/javascript" src="engine1/script.js"></script>   
</body>
</html>
